home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(mouseDown){
- laserCounter++;
- _root.laser.duplicateMovieClip("laser" + laserCounter,laserCounter);
- if(this._currentframe == 1)
- {
- _root["laser" + laserCounter]._visible = true;
- tellTarget(_root["laser" + laserCounter])
- {
- gotoAndStop("Right");
- play();
- tellTarget(this.T_hoover)
- {
- gotoAndStop("KickBack");
- play();
- }
- }
- }
- else if(this._currentframe == 2)
- {
- _root["laser" + laserCounter]._visible = true;
- tellTarget(_root["laser" + laserCounter])
- {
- gotoAndStop("Left");
- play();
- tellTarget(this.T_hoover)
- {
- gotoAndStop("KickBack");
- play();
- }
- }
- }
- }
-